﻿ALTER TABLE [dbo].[Entrance]
	ADD CONSTRAINT [EntranceToBuilding] 
	FOREIGN KEY ([BuildingId])
	REFERENCES [dbo].[Building] ([Id])
	ON UPDATE CASCADE
	ON DELETE CASCADE
